package one.bugu.android.demon.bean.snatch;

import com.juefeng.android.framework.common.base.BaseEntity;

import java.io.Serializable;
import java.util.List;

/**
 * 抢购中期数据/已结束期数据
 */
public class SnatchPeriodBean extends BaseEntity {

    /**
     * wallte : {"bgt":42.37916}
     * data : [{"goodsImg":"http://imgcdn.3yx.com//bg/coin/snatchGoods/201810/snatchGoods20181025172138452a44f6.png","periodId":33,"goodsId":"2","minBuyNum":1,"classNum":0.002,"currentTime":"2018-10-28 17:16:15","STATUS":20,"goodsPrice":1,"startTime":"2018-10-28 17:05:49","goodsCost":12,"boughtNum":10,"goodsName":"0.002 ETH","goodsNum":100,"periodNo":"210270004"},{"goodsImg":"http://imgcdn.3yx.com//bg/coin/snatchGoods/201810/snatchGoods20181025172138452a44f6.png","periodId":30,"goodsId":"4","minBuyNum":1,"classNum":0.2,"currentTime":"2018-10-28 17:16:15","STATUS":20,"goodsPrice":1,"startTime":"2018-10-27 10:57:14","goodsCost":12,"boughtNum":0,"goodsName":"0.2 ETH","goodsNum":30,"periodNo":"410270001"}]
     */

    private WallteBean wallte;
    private AllFlag allFlag;
    private List<DataBean> data;

    public AllFlag getAllFlag() {
        return allFlag;
    }

    public void setAllFlag(AllFlag allFlag) {
        this.allFlag = allFlag;
    }

    public WallteBean getWallte() {
        return wallte;
    }

    public void setWallte(WallteBean wallte) {
        this.wallte = wallte;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class WallteBean implements Serializable {
        /**
         * bgt : 42.37916
         */

        private double bgt;

        public double getBgt() {
            return bgt;
        }

        public void setBgt(double bgt) {
            this.bgt = bgt;
        }
    }

    public static class AllFlag implements Serializable {
        /**
         * "isSnatchNew": "每人仅限抢一次"
         */

        private String isSnatchNew;

        public String getIsSnatchNew() {
            return isSnatchNew;
        }

        public void setIsSnatchNew(String isSnatchNew) {
            this.isSnatchNew = isSnatchNew;
        }
    }

    public static class DataBean implements Serializable {
        /**
         * goodsImg : http://imgcdn.3yx.com//bg/coin/snatchGoods/201810/snatchGoods20181025172138452a44f6.png
         * periodId : 33
         * goodsId : 2
         * minBuyNum : 1
         * classNum : 0.002
         * currentTime : 2018-10-28 17:16:15
         * STATUS : 20
         * goodsPrice : 1
         * startTime : 2018-10-28 17:05:49
         * goodsCost : 12
         * boughtNum : 10
         * goodsName : 0.002 ETH
         * goodsNum : 100
         * periodNo : 210270004
         */

        private String goodsImg;
        private int periodId;
        private String goodsId;
        private int minBuyNum;
        private double classNum;
        private String currentTime;
        private int status;
        private int goodsPrice;
        private String startTime;
        private double goodsCost;
        private int boughtNum;
        private String goodsName;
        private int goodsNum;
        private String periodNo;
        private double bgtNum;
        private String orderNo;
        private int winStatus;
        private int rowId;
        private String luckyCode;
        private int buyNum;
        private String inviteText;

        public String getInviteText() {
            return inviteText;
        }

        public void setInviteText(String inviteText) {
            this.inviteText = inviteText;
        }

        public int getBuyNum() {
            return buyNum;
        }

        public void setBuyNum(int buyNum) {
            this.buyNum = buyNum;
        }

        public String getLuckyCode() {
            return luckyCode;
        }

        public void setLuckyCode(String luckyCode) {
            this.luckyCode = luckyCode;
        }

        public int getWinStatus() {
            return winStatus;
        }

        public void setWinStatus(int winStatus) {
            this.winStatus = winStatus;
        }

        public int getRowId() {
            return rowId;
        }

        public void setRowId(int rowId) {
            this.rowId = rowId;
        }

        public String getOrderNo() {
            return orderNo;
        }

        public void setOrderNo(String orderNo) {
            this.orderNo = orderNo;
        }

        public double getBgtNum() {
            return bgtNum;
        }

        public void setBgtNum(double bgtNum) {
            this.bgtNum = bgtNum;
        }

        public String getGoodsImg() {
            return goodsImg;
        }

        public void setGoodsImg(String goodsImg) {
            this.goodsImg = goodsImg;
        }

        public int getPeriodId() {
            return periodId;
        }

        public void setPeriodId(int periodId) {
            this.periodId = periodId;
        }

        public String getGoodsId() {
            return goodsId;
        }

        public void setGoodsId(String goodsId) {
            this.goodsId = goodsId;
        }

        public int getMinBuyNum() {
            return minBuyNum;
        }

        public void setMinBuyNum(int minBuyNum) {
            this.minBuyNum = minBuyNum;
        }

        public double getClassNum() {
            return classNum;
        }

        public void setClassNum(double classNum) {
            this.classNum = classNum;
        }

        public String getCurrentTime() {
            return currentTime;
        }

        public void setCurrentTime(String currentTime) {
            this.currentTime = currentTime;
        }

        public int getSTATUS() {
            return status;
        }

        public void setSTATUS(int STATUS) {
            this.status = STATUS;
        }

        public int getGoodsPrice() {
            return goodsPrice;
        }

        public void setGoodsPrice(int goodsPrice) {
            this.goodsPrice = goodsPrice;
        }

        public String getStartTime() {
            return startTime;
        }

        public void setStartTime(String startTime) {
            this.startTime = startTime;
        }

        public double getGoodsCost() {
            return goodsCost;
        }

        public void setGoodsCost(int goodsCost) {
            this.goodsCost = goodsCost;
        }

        public int getBoughtNum() {
            return boughtNum;
        }

        public void setBoughtNum(int boughtNum) {
            this.boughtNum = boughtNum;
        }

        public String getGoodsName() {
            return goodsName;
        }

        public void setGoodsName(String goodsName) {
            this.goodsName = goodsName;
        }

        public int getGoodsNum() {
            return goodsNum;
        }

        public void setGoodsNum(int goodsNum) {
            this.goodsNum = goodsNum;
        }

        public String getPeriodNo() {
            return periodNo;
        }

        public void setPeriodNo(String periodNo) {
            this.periodNo = periodNo;
        }
    }
}
